package com.lanjiyin.cloud.common.msg;

import java.util.List;

public class TableResultResponse<T> {
	long total;
	List<T> rows;
	Object extend;

	public TableResultResponse(long total, List<T> rows) {
            this.total = total;
            this.rows = rows;
        }
	public TableResultResponse(long total, List<T> rows,Object extend) {
        this.total = total;
        this.rows = rows;
        this.extend = extend;
    }

	public TableResultResponse() {
        }

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	public Object getExtend() {
		return extend;
	}
	public void setExtend(Object extend) {
		this.extend = extend;
	}

}
